package com.lmk.service.impl;

import com.lmk.domain.Product;
import com.lmk.mapper.ProductMapper;
import com.lmk.service.IProductService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author kun
 * @since 2022-09-29
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements IProductService {
    @Autowired
    private ProductMapper productMapper;
    @Override
    public Product getbyname(String productname) {
        return productMapper.getbyname(productname);
    }
}
